package com.yanqu.road.logic.bussiness.activity;

import com.yanqu.road.entity.activity.wishpool.WishPoolBigReward;
import com.yanqu.road.entity.activity.wishpool.WishPoolUserData;
import com.yanqu.road.logic.bussiness.DaoHelper;

import java.util.List;

public class WishPoolActivityBusiness {

    public static WishPoolUserData getWishPoolData(long userId, int activityId) {
        return DaoHelper.getWishPoolDaoImpl().getWishPoolUserData(userId, activityId);
    }

    public static boolean addWishPoolData(WishPoolUserData data) {
        return DaoHelper.getWishPoolDaoImpl().add(data);
    }

    public static boolean updateWishPoolData(WishPoolUserData data) {
        return DaoHelper.getWishPoolDaoImpl().update(data);
    }

    public static List<WishPoolBigReward> getWishPoolBigRewardList(int activityId) {
        return DaoHelper.getWishPoolRewardDaoImpl().getWishPoolBigRewardList(activityId);
    }

}
